﻿create proc thuan_qtdanhmucchucvuxoa
@ID int
as
if not exists(select * from DanhMuc_ChucVu Where MaChucVu=@ID)
begin
select ErrCode=0
end
else
begin
delete from DanhMuc_ChucVu WHere MaChucVu=@ID
select ErrCode=1
end
